package com.shopping.service;

import java.util.List;
import java.util.Map;

import com.shopping.bean.Admin;
import com.shopping.bean.OrderGoods;
import com.shopping.bean.Page;
import com.shopping.bean.Review;
import com.shopping.bean.User;

/**
 * @author 2165435274
 *
 */
public interface AdminService {

	Map<String,Object> loginAdmin(String adminName,String password);
	
	Page<User> findAllUser(Map<String,String[]> condition);
	
	List<Review> findAllReview();
	
	int changeUser(User newUser,User oldUser);
	
	int delUserById(int userId);
	
	int changeOrderGoods(OrderGoods newOrderGoods,OrderGoods oldOrderGoods);
	
	int delOrderGoodsById(int oId);
	
	int changeReview(Review newReview,Review oldReview);
	
	int delReviewById(int rId);
	
}
